<?php

namespace logInModel;

require_once 'model\GetMembers.php';

class LogInModel{
	
	private $getMembers;
	
	public function __construct(){
		$this->getMembers = new \getMembers\GetMembers();
	}
	
	public function tryLogIn($username, $password){
		if($this->getMembers->checkMember($username, $password) == TRUE){
			return TRUE;
		}else{
			return FALSE;
		}	
	}
}
